home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir25
/
qbook100.zip
/
QBOOKINS.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1994-07-31
|
974b
|
38 lines
/* Create a QBook program object on the OS/2 Desktop */
Call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
Call SysLoadFuncs
Call SysCls
say
say
qb_exe = Stream('QBOOK.EXE', 'C', 'Query Exists')
qb_ico = Stream('QBICON.OS2', 'C', 'Query Exists')
If qb_ico = '' Then
qb_ico = Stream('QBOOK.ICO', 'C', 'Query Exists')
Else
rename = '1'
if qb_exe = '' | qb_ico = ''
Then Do
Say 'The files QBOOK.EXE and QBICON.OS2 must exist in the current'
Say 'directory in order for the program object to be created.'
Exit
End
setup = 'EXENAME='qb_exe';PROGTYPE=WINDOWEDVDM;STARTUPDIR='Directory()
If rename = '1' then
"RENAME QBICON.OS2 QBOOK.ICO"
Call SysCreateObject 'WPProgram', 'QBook Recipe Manager', '<WP_DESKTOP>',,
setup, 'Replace'
Say 'The QBook program reference has been created on your WPS desktop.'
Say 'You may now move it to the folder of your choice.'
Exit